package dgcptic.interventions.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.google.appengine.api.datastore.Key;


@Entity
public class Demandeur {
	
	private String civilite;
	@Id	
	public String nom;
	public String prenom;
	public String ministere;
	public String service;
	public String tel;
	public String login;
	public String mdp1;
	
	public Demandeur() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Demandeur(String civilite, String nom, String prenom,
			String ministere, String service, String tel, String login,
			String mdp1) {
		super();
		this.civilite = civilite;
		this.nom = nom;
		this.prenom = prenom;
		this.ministere = ministere;
		this.service = service;
		this.tel = tel;
		this.login = login;
		this.mdp1 = mdp1;
	}

	public String getCivilite() {
		return civilite;
	}

	public void setCivilite(String civilite) {
		this.civilite = civilite;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public String getMinistere() {
		return ministere;
	}

	public void setMinistere(String ministere) {
		this.ministere = ministere;
	}

	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getMdp1() {
		return mdp1;
	}

	public void setMdp1(String mdp1) {
		this.mdp1 = mdp1;
	}

	@Override
	public String toString() {
		
		return nom + prenom;
	}
	
	

}
